<template>
	<NetIcon v-bind="props"> </NetIcon>
</template>

<script setup lang="ts">
import type { NetIconProps } from './types'
import NetIcon from './index.vue'

const props = withDefaults(
	//todo 这里 `Partial<NetIconProps> & Pick<NetIconProps, 'type'>` 这个类型并没有生效, 你不传type也不会报错
	defineProps<Partial<NetIconProps> & Pick<NetIconProps, 'type'>>()
	, {
		url: '//at.alicdn.com/t/font_2757875_tab12gubzq.css',
		prefix: 'v3-icon-',
		fontFamily: 'v3-icons',
		type: ''
	}
)
</script>

<style scoped></style>
